package com.gopay.common.domain.user;


import com.gopay.common.cipher.utils.LoggerMaskUtils;
import com.gopay.common.domain.BaseEntity;

public class OperatorLoginView extends BaseEntity {

    private static final long serialVersionUID = 1L;

    private String operId;
    private String departmentId;
    private String operType;
    private String operName;
    private String operEmail;
    private String phoneNo;
    private String operStatus;
    private Integer isSafeLogin;

    private boolean login;
    
    private String errMsg;

    private boolean uKeySwitch;

    public String getOperId() {
        return operId;
    }

    public void setOperId(String operId) {
        this.operId = operId;
    }

    public String getDepartmentId() {
        return departmentId;
    }

    public void setDepartmentId(String departmentId) {
        this.departmentId = departmentId;
    }

    public String getOperType() {
        return operType;
    }

    public void setOperType(String operType) {
        this.operType = operType;
    }

    public String getOperName() {
        return operName;
    }

    public void setOperName(String operName) {
        this.operName = operName;
    }

    public String getOperEmail() {
        return operEmail;
    }

    public void setOperEmail(String operEmail) {
        this.operEmail = operEmail;
    }

    public String getPhoneNo() {
        return phoneNo;
    }

    public void setPhoneNo(String phoneNo) {
        this.phoneNo = phoneNo;
    }

    public String getOperStatus() {
        return operStatus;
    }

    public void setOperStatus(String operStatus) {
        this.operStatus = operStatus;
    }

    public boolean isLogin() {
        return login;
    }

    public void setLogin(boolean login) {
        this.login = login;
    }

    public String getErrMsg() {
        return errMsg;
    }

    public void setErrMsg(String errMsg) {
        this.errMsg = errMsg;
    }

    public Integer getIsSafeLogin() {
        return isSafeLogin;
    }

    public void setIsSafeLogin(Integer isSafeLogin) {
        this.isSafeLogin = isSafeLogin;
    }

    public boolean isuKeySwitch() {
        return uKeySwitch;
    }

    public void setuKeySwitch(boolean uKeySwitch) {
        this.uKeySwitch = uKeySwitch;
    }

    public boolean getuKeySwitch(){
        return uKeySwitch;
    }


    @Override
	public String toString() {
		return "OperatorLoginView [operId=" + operId + ", departmentId=" + departmentId + ", operType=" + operType
				+ ", operName=" + operName + ", operEmail=" + operEmail + ", phoneNo=" + LoggerMaskUtils.maskString(phoneNo) + ", operStatus="
				+ operStatus + ", uKeySwitch=" + uKeySwitch + ", isSafeLogin=" + isSafeLogin + ", login=" + login + ", errMsg=" + errMsg + "]";
	}

    
    
}
